package com.api.shopapi.service;

import com.api.shopapi.entity.JKXuezhi;
import com.api.shopapi.entity.dto.JKXuezhiDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface JKXuezhiService {

    int insert(JKXuezhi jkXuezhi);

    int update(JKXuezhi jkXuezhi);

    int delete(String jKXuezhiCode);

    JKXuezhi getByJKXuezhiCode(String jKXuezhiCode);

    PageInfo<JKXuezhi> getPageList(int pageIndex,int pageSize,String userCode,String startTime,String endTime);

    PageInfo<JKXuezhiDTO> getAdmPageList(int pageIndex, int pageSize, String name, String governmentCode, String startTime, String endTime);

}
